package api

import (
	"github.com/gogf/gf/v2/frame/g"
	"lot_admin_api/internal/model"
)

// AgreementInfoReq 通过type获取协议详情
type AgreementInfoReq struct {
	g.Meta `path:"/agreement/info" tags:"协议模块" method:"get" summary:"获取协议详情"`
	*model.AgreementIdReq
}

// SearchAgreementListReq 获取协议列表
type SearchAgreementListReq struct {
	g.Meta `path:"/agreement/list" tags:"协议模块" method:"get" summary:"获取协议列表"`
	*model.SearchAgreementListReq
}

// AddAgreementReq 添加协议
type AddAgreementReq struct {
	g.Meta `path:"/agreement/add" tags:"协议模块" method:"post" summary:"添加协议"`
	*model.AddAgreementRes
}

// UpdateAgreementReq 更新协议
type UpdateAgreementReq struct {
	g.Meta `path:"/agreement/update" tags:"协议模块" method:"post" summary:"更新协议"`
	*model.AgreementInfoRes
}

// DeleteAgreementReq 删除协议
type DeleteAgreementReq struct {
	g.Meta `path:"/agreement/delete" tags:"协议模块" method:"delete" summary:"删除协议"`
	*model.AgreementIdReq
}
